﻿@model MyCompanyName.AbpZeroTemplate.Daybooks.Dto.GetDaybookForEditOutput

@{
    Layout = null;
}

<table class="table  table-hover">

    <tr>
        @*<th>#</th>*@
        <th>Customer</th>
        <th>Product</th>
        <th>ManHour</th>
        <th>State</th>
        <th>Work</th>
    </tr>
    @foreach (var item in Model.Items)
    {
        if (string.IsNullOrEmpty(item.Product))
        {
            break;
        }
        <tr>
            @*<td>@item.Index</td>*@
            <td>@item.Customer</td>
            <td>@item.Product</td>
            <td>@item.ManHourDisplay</td>
            <td>@item.State</td>
            <td>
                @item.Work
                @if (!string.IsNullOrEmpty(item.Remark))
                {
                    <br />
                    <i>@item.Remark</i>
                }
            </td>
        </tr>
    }
</table>